package com.hr.feign.user;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hr.entity.AoaRole;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * 专属AoaRole的Feign
 */
@FeignClient(value = "oa-core",contextId = "2")
public interface OaoRoleFeignService {

    /**
     * 查询角色列表
     * @return
     */
    @RequestMapping("/aoaRole/queryList")
    public Page<AoaRole> queryList(Page<AoaRole> page);
}
